package money;

import org.junit.Test;

/**
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class MathUse {
    @Test
    public void test() {
        System.out.println(Math.addExact(1, 2));
        System.out.println((int) (Math.random() * 10));
        System.out.println(Math.round(2.491));
    }
}
